package com.demo.spring.importBeanDefinitionRegistrar.demo1;

import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;

@Component
@Import({Teacher.class, Teacher2.class})
public class Student {

	public void say() {
		System.out.println("这是一个苦逼的程序员");
	}

}
